package com.hp.ssmp.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.util.Date;

public class TCart {
  @TableId(value = "CARTID",type = IdType.AUTO)
  private Long cartid;
  private Long userid;
  private Long goodsid;
  private Long num;


  public Long getCartid() {
    return cartid;
  }

  public void setCartid(Long cartid) {
    this.cartid = cartid;
  }


  public Long getUserid() {
    return userid;
  }

  public void setUserid(Long userid) {
    this.userid = userid;
  }


  public Long getGoodsid() {
    return goodsid;
  }

  public void setGoodsid(Long goodsid) {
    this.goodsid = goodsid;
  }


  public Long getNum() {
    return num;
  }

  public void setNum(Long num) {
    this.num = num;
  }

  @Override
  public String toString() {
    return "TCart{" +
            "cartid=" + cartid +
            ", userid=" + userid +
            ", goodsid=" + goodsid +
            ", num=" + num +
            '}';
  }
}
